﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PeonyShop.Bussiness;
using System.Data;

namespace PeonyShop
{
    public partial class Flowers : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int iMainCate = Convert.ToInt32(Request.QueryString["cateid"]);
                int iSubCate = Convert.ToInt32(Request.QueryString["subcate"]);
                BImage bImg = new BImage();
                DataSet ds = bImg.GetImage(string.Empty, iMainCate, iSubCate, -1, -1, 1, 1, false);
                repFlower.DataSource = ds;
                repFlower.DataBind();

            }
        }
    }
}